This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: trapping background image size ~Umberto Nongeroson 20.Nov.03 05:23 PM a Web browser Domino Designer 6.0.1 CF2All Platforms
Hm, looks like the $Background field is not assigned until after Querysave executes.
I guess you could test for it in the Postsave instead, but by then it's too late to just abort the save. You could, however, remove the item and re-save the document (using NotesDocument.Save, not NotesUIDocument.Save).
I suspect if you could do a "trial" save wth SaveOptions = "0", that would create the $Background item. Then you could remove the SaveOptions and save for real if you still want to.